import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root',
})
export class DeployService {

  constructor() {
  }

  sliceTagName(tag: string): string {
    const isLongTag = tag.length > 10;
    return isLongTag ? `${tag.slice(0, 10)}...` : tag;
  }
}
